package com.jjb.www.http.api;

import com.hjq.http.config.IRequestApi;

import java.util.List;

/**
 * @author CRG
 * @date :2024/1/12 17:13
 * @description:
 */
public class PrePostPlanVideoRecordApi implements IRequestApi {
    private String type;
    private String token;
    private String task_ids;
    private String plan_id;

    public PrePostPlanVideoRecordApi setType(String type) {
        this.type = type;
        return this;
    }

    public PrePostPlanVideoRecordApi setToken(String token) {
        this.token = token;
        return this;
    }

    public PrePostPlanVideoRecordApi setTask_ids(String task_ids) {
        this.task_ids = task_ids;
        return this;
    }

    public PrePostPlanVideoRecordApi setPlan_id(String plan_id) {
        this.plan_id = plan_id;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/live/v1/channelPlan/prePostPlanVideoRecord";
    }
    public static class Bean{

        private List<ListDTO> list;
        private String otherInfo;

        public List<ListDTO> getList() {
            return list;
        }

        public void setList(List<ListDTO> list) {
            this.list = list;
        }

        public String getOtherInfo() {
            return otherInfo;
        }

        public void setOtherInfo(String otherInfo) {
            this.otherInfo = otherInfo;
        }

        public static class ListDTO {
            private Integer id;
            private Integer duration;
            private String start_time;
            private String live_time;
            private Integer watch_status;
            private Object watch_status_msg;
            private Integer task_id;
            private Integer live_check_status;
            private Integer can_day;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getDuration() {
                return duration;
            }

            public void setDuration(Integer duration) {
                this.duration = duration;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public String getLive_time() {
                return live_time;
            }

            public void setLive_time(String live_time) {
                this.live_time = live_time;
            }

            public Integer getWatch_status() {
                return watch_status;
            }

            public void setWatch_status(Integer watch_status) {
                this.watch_status = watch_status;
            }

            public Object getWatch_status_msg() {
                return watch_status_msg;
            }

            public void setWatch_status_msg(Object watch_status_msg) {
                this.watch_status_msg = watch_status_msg;
            }

            public Integer getTask_id() {
                return task_id;
            }

            public void setTask_id(Integer task_id) {
                this.task_id = task_id;
            }

            public Integer getLive_check_status() {
                return live_check_status;
            }

            public void setLive_check_status(Integer live_check_status) {
                this.live_check_status = live_check_status;
            }

            public Integer getCan_day() {
                return can_day;
            }

            public void setCan_day(Integer can_day) {
                this.can_day = can_day;
            }
        }
    }
}
